#! /bin/bash
dt=`date +'%Y%m%d'`
ip addr > net-info-$dt.log
echo -n "\n\n\n\n">> net-info-$dt.log
ifconfig -a >>net-info-$dt.log
echo -n "\n\n\n\n">> net-info-$dt.log
nmcli  >>net-info-$dt.log